home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 99
/
(Vol 99) Jan 19 2010.iso
/
Games
/
bikini_boton_or_burst.swf
/
scripts
/
DefineSprite_19
/
frame_1
/
DoAction.as
Wrap
Text File
|
2010-01-19
|
394b
|
18 lines
function CheckLoad()
{
bytesLoaded = _root.getBytesLoaded();
bytesTotal = _root.getBytesTotal();
frames += 1;
if(bytesLoaded == bytesTotal && fNickLoad == true)
{
_parent.gotoAndPlay("Load");
}
else
{
loadbar.gotoAndStop(Math.min(Math.round(bytesLoaded / bytesTotal * 100),frames * 1.5));
}
}
var bytesLoaded;
var bytesTotal;
var frames;